package pojo;


import org.springframework.stereotype.Component;

@Component
public class Dog implements Pet {
    @Override
    public void shout() {
        System.out.println("汪汪");
    }
}
